package com.zr.corporatefactory.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Created by 天赐 on 2019/12/25.
 */
@Data
public class UserLogin {
    @NotBlank(message = "登录时,用户名不能为空")
    private String username;
    @NotBlank(message = "登录时,密码不能为空")
    private String password;
}
